import request from './request'

export function chatCompletion(messages) {
  return request({
    url: '/api/chat/completion',
    method: 'post',
    data: {
      model: 'deepseek-chat',
      messages,
      stream: false
    }
  })
} 